﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SearchNewsControl.ascx.cs" Inherits="MpSoft.Web.Controls.News.SearchNewsControl" %>
<div class="list-news">
    <asp:Repeater ID="rpNews" runat="server">
        <ItemTemplate>
            <div class="news-item">
                <a class="img" href="<%# string.Format(Eval("FormatUrl").ToString(), Eval("NewsID")) %>">
                    <img src="<%# Eval("Image") %>" />
                </a>
                <h3><%# Eval("Title") %></h3>
                <span><%# Eval("Description") %></span>
                <p>
                    <a href="<%# string.Format(Eval("FormatUrl").ToString(), Eval("NewsID")) %>">+Chi tiết</a>
                </p>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
